package com.cxs.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 关注用户表
 * @TableName t_attention_user
 */
@TableName(value ="t_attention_user")
@Data
public class AttentionUser implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 被关注的用户id
     */
    private String attentionUserId;

    /**
     * 关注时间
     */
    private LocalDateTime attentionTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
